package com.sg.service.base.component;

import com.sg.dto.base.component.req.BatchQueryMemberChannelReq;
import com.sg.dto.base.component.req.QueryMemberChannelDetailReq;
import com.sg.dto.base.component.req.QueryMemberChannelListReq;
import com.sg.entity.OmsMessageMemberChannelRelation;

import java.util.List;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
public interface MOmsMessageMemberChannelRelationService {
    /**
     * 2-5-09查询成员通道详情
     */
    OmsMessageMemberChannelRelation queryMemberChannelDetail(QueryMemberChannelDetailReq reqDto);

    /**
     * 2-5-09新增成员通道
     */
    String addMemberChannel(OmsMessageMemberChannelRelation omsMessageMemberChannelRelation);

    /**
     * 2-5-09查询成员通道列表
     */
    List<OmsMessageMemberChannelRelation> queryMemberChannelList(QueryMemberChannelListReq reqDto);

    /**
     * 2-5-09修改成员通道
     */
    boolean updateMemberChannel(OmsMessageMemberChannelRelation omsMessageMemberChannelRelation);

    /**
     * 2-5-09批量增成员通道
     */
    boolean batchAddMemberChannel(List<OmsMessageMemberChannelRelation> omsMessageMemberChannelRelation);

    /**
     * 2-5-08删除成员通道
     */
    boolean deleteMemberChannel(String memberChannelRelationId);

    /**
     * 2-5-09批量删成员通道
     */
    boolean batchDeleteMemberChannel(List<String> reqDto);

    /**
     * 2-5-09批量改成员通道
     */
    boolean batchUpdateMemberChannel(List<OmsMessageMemberChannelRelation> omsMessageMemberChannelRelation);

    /**
     * 2-5-09批量查询成员通道
     */
    List<OmsMessageMemberChannelRelation> batchQueryMemberChannel(BatchQueryMemberChannelReq reqDto);

    /**
     * 2-5-09修改自动减成员通道消息数量
     */
    boolean updateAutoSubMemberMessageNum(OmsMessageMemberChannelRelation omsMessageMemberChannelRelation);

    /**
     * 2-5-09修改自动加成员通道未读数
     */
    boolean updateAutoAddUnReadCounts(OmsMessageMemberChannelRelation omsMessageMemberChannelRelation);
    //
}
